package com.funymmz.demo.dao;

import com.funymmz.demo.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<User,Long> {
    public List<User> findByUsername(String username);
    public List<User> findByUsernameAndPassword(String username, String password);
}
